package org.bonorsoft.modules.dingding.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.bonorsoft.common.aspect.annotation.Dict;
import org.bonorsoft.common.constant.UserConstants;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 钉钉用户
 * @Author: WilliamYe
 * @Date:   2020-11-13
 * @Version: V1.0
 */
@Data
@TableName("SYS_USER")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysDingUser {

	/**员工的userid*/
	@TableId(type = IdType.ID_WORKER_STR)
	private java.lang.String userid;
	/**分机号*/
	@Excel(name = "分机号", width = 15)
	private java.lang.String telephone;
	/**员工工号*/
	@Excel(name = "员工工号", width = 15)
	private java.lang.String jobNumber;
	/**职位*/
	@Excel(name = "职位", width = 15)
	private java.lang.String title;
	/**员工邮箱*/
	@Excel(name = "员工邮箱", width = 15)
	private java.lang.String email;
	/**员工的企业邮箱*/
	@Excel(name = "员工的企业邮箱", width = 15)
	private java.lang.String orgEmail;
	/**办公地点*/
	@Excel(name = "办公地点", width = 15)
	private java.lang.String workPlace;
	/**备注*/
	@Excel(name = "备注", width = 15)
	private java.lang.String remark;
	/**部门ID(当前选择登录部门)*/
	@Excel(name = "登录部门", width = 15, dictTable ="sys_depart",dicText = "name",dicCode = "dept_id")
	@Dict(dictTable ="sys_depart",dicText = "name",dicCode = "dept_id")
	private java.lang.Long deptId;
	/**所属部门ID列表*/
	@Excel(name = "所属部门ID列表", width = 15, dictTable ="sys_depart",dicText = "name",dicCode = "dept_id")
	@Dict(dictTable ="sys_depart",dicText = "name",dicCode = "dept_id")
	private java.lang.String deptIdList;
	/**扩展属性，最大长度2000个字符*/
	@Excel(name = "扩展属性，最大长度2000个字符", width = 15)
	private java.lang.String extension;
	/**入职时间，Unix时间戳，单位毫秒*/
	@Excel(name = "入职时间，Unix时间戳，单位毫秒", width = 15)
	private java.lang.Long hiredDate;
	/**是否激活了钉钉：true：已激活 false：未激活*/
	@Excel(name = "是否激活了钉钉：true：已激活 false：未激活", width = 15)
	@Dict(dicCode = "sys_user_active")
	private java.lang.Integer active;
	/**是否完成了实名认证：true：已认证 false：未认证*/
	@Excel(name = "是否完成了实名认证：true：已认证 false：未认证", width = 15)
	private java.lang.Integer realAuthed;
	/**是否为企业的高管：true：是 false：不是*/
	@Excel(name = "是否为企业的高管：true：是 false：不是", width = 15)
	private java.lang.Integer senior;
	/**是否为企业的管理员：true：是 false：不是*/
	@Excel(name = "是否为企业的管理员：true：是 false：不是", width = 15)
	private java.lang.Integer admin;
	/**是否为企业的老板：true：是 false：不是*/
	@Excel(name = "是否为企业的老板：true：是 false：不是", width = 15)
	private java.lang.Integer boss;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date updateTime;
	/**员工在当前开发者企业账号范围内的唯一标识*/
	@Excel(name = "员工在当前开发者企业账号范围内的唯一标识", width = 15)
	private java.lang.String unionid;
	/**员工名称*/
	@Excel(name = "员工名称", width = 15)
	private java.lang.String name;
	/**头像*/
	@Excel(name = "头像", width = 15)
	private java.lang.String avatar;
	/**国际电话区号*/
	@Excel(name = "国际电话区号", width = 15)
	private java.lang.String stateCode;
	/**手机号码*/
	@Excel(name = "手机号码", width = 15)
	private java.lang.String mobile;
	/**是否号码隐藏：true：隐藏 false：不隐藏*/
	@Excel(name = "是否号码隐藏：true：隐藏 false：不隐藏", width = 15)
	private java.lang.Integer hideMobile;


}
